package test2;

import org.springframework.stereotype.Component;

@Component("stone")
public class Truck implements Car{
    public void drive(){
        System.out.println("驾驶着卡车");
    }
}
